/**
 * Author: XJ
 * Date: 2025-09-16
 * Description: 用于发布产品步骤组件
 * */
import { useState, useCallback, SetStateAction } from 'react';

const initData: {
  stepTwo:{[key:string]:any},
  setpThree:{[key:string]:any},
  threeHetong:{[key:string]:any},
  stepTwoDisabled:boolean;
  stepThreeDisabled:boolean
  stepFourData:{[key:string]:any}
  stepFiveData:{connectProvider:string, dealWayName:string}[]
  setpFourDisabled:boolean
  fiveDataAll:{[key:string]:any}
  stepFiveDisabled:boolean
} = {
  stepTwo:{},
  setpThree:{},
  threeHetong:{},
  stepTwoDisabled:false,
  stepThreeDisabled:false,
  stepFourData:{
    isPerformanceEvaluated: false,
    isRunning: false,
    isThrough: false
  },
  stepFiveData:[],
  setpFourDisabled:false,
  fiveDataAll:{},
  stepFiveDisabled:false
};
export default function dialogStatus() {
  const [dataGlobal, setDataGlobal] = useState(initData);
  return {
    dataGlobal,
    setDataGlobal,
  };
}
